package com.arangodb.arangodemo.arangoEntity;

import com.arangodb.springframework.annotation.Document;
import org.springframework.data.annotation.Id;

import java.util.List;

@Document("userinfo")
public class UserInfo {
    private String alive;
    private String name;
    private String surname;
    private List<String > traits;
    @Id
    private Long userId;
    private Integer age;

    private Integer gender;

    private String uId;

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getAlive() {
        return alive;
    }

    public void setAlive(String alive) {
        this.alive = alive;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public List<String> getTraits() {
        return traits;
    }

    public void setTraits(List<String> traits) {
        this.traits = traits;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "alive='" + alive + '\'' +
                ", name='" + name + '\'' +
                ", surname='" + surname + '\'' +
                ", traits=" + traits +
                ", userId=" + userId +
                ", age=" + age +
                ", gender=" + gender +
                '}';
    }
}
